package com.chat.common.user.service.adapter;

import com.chat.common.common.domain.enums.YesOrNoEnum;
import com.chat.common.user.domain.entity.UserBackpack;

public class UserBackpackAdapter {
    public static UserBackpack buildBackpack(Long uid, Long itemId, String idempotent) {
      return UserBackpack.builder()
              .uid(uid)
              .itemId(itemId)
              .idempotent(idempotent)
              .status(YesOrNoEnum.NO.getStatus())
              .build();
    }
}
